package cn.xpg.service;

import java.util.List;


import cn.xpg.entity.Supplier;

public interface SupplierService {
	// 新增供应商
	public int addSupplier(Supplier supplier);

	// 删除供应商
	public int deleteSupplier(int supplier_id);

	// 查询供应商
	public List<Supplier> getSupplierList(String supplier_name, int currentPageNo, int pageSize);

	// 查询供应商行数
	public int getSupplierCount(String supplier_name);

	// 获取供应商Id
	public Supplier getSupplierId(int supplier_id);

	// 修改供应商
	public int updateSupplier(Supplier supplier);
}
